import sytles from "./index.module.scss"

interface TitleProps{
  className?: string
  icon: string
  title: string
}
const Title: React.FC<TitleProps> = ({className = "", icon, title}) => {
  return(<div className={`${sytles['title-componet']} className`}>
    <div className={`${sytles['title']}`}>
      <i className={`fa ${icon} ${sytles["icon"]}`}></i>
      <span className={`${sytles['title']}`}>{title}</span>
    </div>
  </div>)
}
export default Title